package com.museum.model;

import java.util.List;
import java.util.Vector;

public class Visited {
	private int _itemcount = 0;
	private List<Place> _itemlist;
	public Visited()
	{
		_itemlist = new Vector(0); 
	}
	public int addItem(Place item)
	{
		_itemlist.add(item);
		_itemcount++;
		return _itemcount;
	}
	public Place getItem(int location)
	{
		return _itemlist.get(location);
	}
	
	public List getAllItems()
	{
		return _itemlist;
	}
	public int getItemCount()
	{
		return _itemcount;
	}

}
